package ml.kgc.pojo;

import java.util.Date;

/**
 * 封装数据javaBean：数据类别
 */
public class NewsCategory {
    private int id;
    private String name;
    private Date createDate;

    public NewsCategory() {
    }

    public NewsCategory(int id, String name, Date createDate) {
        this.id = id;
        this.name = name;
        this.createDate = createDate;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }
}
